package com.tiger.cloud.model.crm;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.tiger.cloud.common.mybatis.TigerBaseEntity;
import com.tiger.cloud.enums.AppSystemMessageStatus;
import com.tiger.cloud.enums.AppSystemMessageType;
import com.tiger.cloud.enums.DeleteEnum;
import com.tiger.cloud.enums.GenderEnum;

import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * app_system_message-系统消息
 *
 */
public class AppSystemMessage extends TigerBaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	private Long receiveUserId;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	private Long sendUserId;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	private String content;
	/**
	 * 头像
	 */
	private String userHeadImage;
	/**
	 * 头像
	 */
	private GenderEnum gender;
	/**
	 * 1:好友消息
	 */
	@ApiModelProperty(value = "1:好友消息")
	private AppSystemMessageType type;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	@JsonIgnore
	private Timestamp createTime;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	@JsonIgnore
	private Timestamp lastUpdateTime;
	/**
	 * 是否删除, 0:正常,1:删除
	 */
	@ApiModelProperty(value = "是否删除, 0:正常,1:删除")
	private DeleteEnum isDelete;
	/**
	 * 1:未读, 2:已读
	 */
	@ApiModelProperty(value = "1:未读, 2:已读")
	private AppSystemMessageStatus status;

	public GenderEnum getGender() {
		return gender;
	}

	public void setGender(GenderEnum gender) {
		this.gender = gender;
	}

	public Long getReceiveUserId() {
		return receiveUserId;
	}

	public void setReceiveUserId(Long receiveUserId) {
		this.receiveUserId = receiveUserId;
	}

	public Long getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(Long sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserHeadImage() {
		return userHeadImage;
	}

	public void setUserHeadImage(String userHeadImage) {
		this.userHeadImage = userHeadImage;
	}

	public AppSystemMessageType getType() {
		return type;
	}

	public void setType(AppSystemMessageType type) {
		this.type = type;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public DeleteEnum getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(DeleteEnum isDelete) {
		this.isDelete = isDelete;
	}

	public AppSystemMessageStatus getStatus() {
		return status;
	}

	public void setStatus(AppSystemMessageStatus status) {
		this.status = status;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}